package com.technology.other;

import com.technology.auto.Car;

public class Employee {

	private String fullName;
	private Car[] cars;

	public String getFullName() {
		return fullName;
	}

	public void setFullName(String fullName) {
		this.fullName = fullName;
	}
	
	public void inheritFullName(Human h){
		this.fullName = h.getLastName();
	}
}
